Vcenter Content Registries Harbor CreateSpec

Vcenter Content Registries Harbor CreateSpec
Vcenter Content Registries Harbor CreateSpec

This schema is deprecated as of vSphere API 8.0.1.00200.

The Vcenter Content Registries Harbor CreateSpec schema contains the specification required to create a Harbor registry.

This schema was added in vSphere API 7.0.0.0.

JSON Example
{
    "cluster": "string",
    "garbage_collection": {
        "type": "string",
        "day_of_week": "string",
        "hour": 0,
        "minute": 0
    },
    "storage": [
        {
            "policy": "string",
            "limit": 0
        }
    ]
}
string
cluster
Optional

This property is deprecated as of vSphere API 8.0.1.00200.

Identifier of the cluster hosting the registry.

This property was added in vSphere API 7.0.0.0.

If missing or null, registry will not be created on a specified cluster. This is required in current version, since Harbor can only be created on a cluster with Kubernetes enabled.

When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: ClusterComputeResource. When operations return a value of this schema as a response, the property will be an identifier for the resource type: ClusterComputeResource.

garbage_collection
Optional

This property is deprecated as of vSphere API 8.0.1.00200.

Garbage collection configuration for the Harbor registry.

This property was added in vSphere API 7.0.0.0.

If missing or null, a default configuration is set, Recurrence#WEEKLY, DayOfWeek#SATURDAY, GarbageCollection#hour is 2, GarbageCollection#minute is 0.

storage
Required

This property is deprecated as of vSphere API 8.0.1.00200.

Storage associated with the Harbor registry. The list contains only one storage backing in this version.

This property was added in vSphere API 7.0.0.0.